package com.scsj.cloud.authority.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.scsj.cloud.authority.model.SysUrl;

@Repository
public interface SysUrlMapper {

    int deleteByPrimaryKey(Integer urlId);

    int insert(SysUrl sysUrl);

    List<SysUrl> selectAll();

    SysUrl selectByPrimaryKey(Integer urlId);
    
    SysUrl selectByUrlPath(String urlPath);

    int updateByPrimaryKey(SysUrl sysUrl);
    
    List<Map<String, Object>> selectAllByMenuId(Integer menuId);
}